package com.thirteenClassicsServer.service;

import com.thirteenClassics.dto.EntryCatalogQueryDTO;
import com.thirteenClassics.dto.EntryDTO;
import com.thirteenClassics.dto.EntryPageQueryDTO;
import com.thirteenClassics.dto.JdbContentForChapterDTO;
import com.thirteenClassics.entity.Entry;
import com.thirteenClassics.result.PageResult;
import com.thirteenClassics.vo.EntryCatalogQueryVO;
import com.thirteenClassics.vo.SentenceVO;

import java.util.List;

public interface IEntryService {

    PageResult pageQuery2(EntryPageQueryDTO entryPageQueryDTO);

    void save(EntryDTO entryDto);

    Entry selectEntryBook(Entry entry);

    EntryCatalogQueryVO selectCatalogAndAll(EntryCatalogQueryDTO entryCatalogQueryDTO);

    EntryCatalogQueryVO selectCatalogAndAllNew(EntryCatalogQueryDTO entryCatalogQueryDTO);

    void saveOperationHistory(EntryCatalogQueryDTO entryCatalogQueryDTO, Long action);


    List<SentenceVO> jdbContentForChapter(JdbContentForChapterDTO jdbContentForChapterDTO);
}
